<!-- 右 -->
<template>
  <div class="gong-box">
    <div class="gong-header">
      <div class="gong-header1">
        <i class="el-icon-notebook-2"></i>
        <el-breadcrumb separator="/">
          <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
          <el-breadcrumb-item :to="{ path: '/' }">活动管理</el-breadcrumb-item>
          <el-breadcrumb-item :to="{ path: '/' }">活动列表</el-breadcrumb-item>
          <el-breadcrumb-item :to="{ path: '/' }">活动详情</el-breadcrumb-item>
          <!-- <el-breadcrumb-item></el-breadcrumb-item>
          <el-breadcrumb-item></el-breadcrumb-item> -->
        </el-breadcrumb>
      </div>
      <div class="gong-header2"></div>
    </div>
    <div class="gong-bbody">
      <div class="gong-CM">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  //import引入的组件需要注入到对象中才能使用
  components: {},
  data() {
    //这里存放数据
    return {};
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {},
  //生命周期 - 创建完成（可以访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
};
</script>
<style lang='scss' scoped>
.gong-box {
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  // padding: 20px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gong-header {
  width: 100%;
  height: 100px;
  // border-bottom: 1px solid #000;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.gong-header1 {
  width: 100%;
  height: 50px;
  // background: red;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
}
.gong-header1 i {
  margin-right: 10px;
}
.gong-header2 {
  width: 100%;
  height: 50px;
  // background: pink;
  // border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
}
.gong-bbody {
  width: 100%;
  height: 100%;
  background: rgb(209, 209, 209);
  padding: 20px 20px;
}
.gong-CM {
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  // align-items: center;
}
</style>